#ifndef LOGIN_H
#define LOGIN_H

#include <QMainWindow>
#include "reservecheck.h"
#include <QFile>
#include <QTextStream>

QT_BEGIN_NAMESPACE
namespace Ui { class login; }
QT_END_NAMESPACE

class login : public QMainWindow
{
    Q_OBJECT

public:
    login(QWidget *parent = nullptr);
    ~login();

private slots:
    void on_pushButton_clicked();
    /*
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
*/

    void on_pushButton_2_clicked();


    void on_uesrname_editingFinished();

    void on_password_editingFinished();

private:
    Ui::login *ui;
    QPoint initialMousePosition;
    bool isDragging = false;

};
#endif // LOGIN_H
